package com.jarvis.du.baselibrary;

import java.io.Closeable;

/**
 * Author: dyj
 * Date: 2018/11/26 16:40
 * E-mail: duyangjun1991@163.com
 */

public class CloseUtils {

    /**
     * 关闭流
     * @param closeable
     */
    public static void close(Closeable closeable){
        if (closeable != null) {
            try {
                closeable.close();
            } catch (Exception e) {
            }
        }
    }
}
